Http://www.jb51.net/article/98364.htmphp Connect Microsoft MSSQL (SQL Server) Full introductionNoisy font: [Increase decrease] Type: Reprint time: 2016-11-27 I want to commentIn the study of Ezsql, I saw the Mssql_connect () and other PHP to provide
The operating system is win server R2, the database is SQL Server 2008,php Version 5.4.14,
Look in the phpinfo of the output
-------------------------------------------------------------------------------------
PDO Support Enabled
PDO drivers MySQL,
Environment:
-Apache 2.2.6
-PHP 5.2.5
-SQL Server 2005
-Windows XP SP2
steps:
1. First configure the PHP5 connection MS SQL Server as usual
2. Download the correct version of Ntwdblib.dll (2000.80.194.0), note that this version number, not this
Environment:
-Apache 2.2.6
-PHP 5.2.5
-SQL Server 2005
-Windows XP SP2
steps:
1. First configure PHP5 to connect MS SQL Server in the usual way
2. Download the correct version of Ntwdblib.dll (2000.80.194.0), note that this version number, not
There's a PHP project that connects to SQL Server for two days, and by the way, learn SQL ServerDescription:The 1:php5.2.x itself has a php_mssql.dll extension to connect to SQL Server, but this DLL is only used to connect to the lower version of
In the study of ezsql time to see the Mssql_connect () and other PHP to provide the connection MSSQL function, Ben thought that the open source of PHP in the world's popular programming language to connect Microsoft's data should be a cinch, but to
Php supports connection to the SQL server database and SQL server
1. Software Configuration
Win7 64 + wampserver2.2d-x32 + SQL Server 2008 R2 database. The php version in wamp2.2 is 5.3.10.
The Php environment can also be changed to php + apache.
2.
One, Windows PHP connection SQL Server 2005
Setup: Installed Windows operating system (Win7 or XP, other systems are not tested), under C disk, PHP's related files are located under C:/php, the configuration file php.ini is located under C:\Windows.
One, under Windows PHP Connection SQL Server 2005
Settings: Installed Windows operating system (WIN7 or XP are available, other systems are not tested), under the C drive, PHP related files are located under C:/php, the configuration file php.ini
Background:PHP program commonly used database is MySQL database, but due to the actual project needs, the PHP Web site to connect to the SQL Server database to query some necessary information. Therefore, this article will introduce you how to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.